package io.renren.modules.forYoung.entity;


import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.util.List;


/**
 * 新闻版块
 * 评论的实体类
 */
public class ForYoungComment {
    private Integer id;
    private String userName;  //评论人的昵称
    private byte[] userNameB;
    private String content;    //评论的内容
    private byte[] contentB;
    private String userHeadImage;  //评论人的头像
    private Long forYoungId;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;  //评论时间
    private Long newsId;  //评论所属新闻的id
    private  int isDelete;  //评论是否被删除 0表示已删除 1表示未删除
    private String token;  //唯一属性
    private Long userId; //评论人的ID
    private Long likeCount;  //点赞量

    private Integer firstReplyId; //第二条回复
    private Integer firstReplyUserId;   //第一条回复
    private String firstReplyUserNickName;
    private byte[] firstReplyUserNickNameB;
    private String firstReplyContent;
    private byte[] firstReplyContentB;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date firstCreateTime;  //评论时间


    private Integer secondReplyId; //第二条回复
    private Integer secondReplyUserId; //第二条回复
    private String secondReplyUserNickName;
    private byte[] secondReplyUserNickNameB;
    private String secondReplyContent;
    private byte[] secondReplyContentB;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date secondCreateTime;  //评论时间


    private Integer replyCount;
    private Integer isLike;


    public byte[] getFirstReplyContentB() {
        return firstReplyContentB;
    }

    public void setFirstReplyContentB(byte[] firstReplyContentB) {
        this.firstReplyContentB = firstReplyContentB;
    }

    public byte[] getSecondReplyContentB() {
        return secondReplyContentB;
    }

    public void setSecondReplyContentB(byte[] secondReplyContentB) {
        this.secondReplyContentB = secondReplyContentB;
    }

    public byte[] getUserNameB() {
        return userNameB;
    }

    public void setUserNameB(byte[] userNameB) {
        this.userNameB = userNameB;
    }

    public byte[] getContentB() {
        return contentB;
    }

    public void setContentB(byte[] contentB) {
        this.contentB = contentB;
    }

    public byte[] getFirstReplyUserNickNameB() {
        return firstReplyUserNickNameB;
    }

    public void setFirstReplyUserNickNameB(byte[] firstReplyUserNickNameB) {
        this.firstReplyUserNickNameB = firstReplyUserNickNameB;
    }

    public byte[] getSecondReplyUserNickNameB() {
        return secondReplyUserNickNameB;
    }

    public void setSecondReplyUserNickNameB(byte[] secondReplyUserNickNameB) {
        this.secondReplyUserNickNameB = secondReplyUserNickNameB;
    }

    public Integer getFirstReplyId() {
        return firstReplyId;
    }

    public void setFirstReplyId(Integer firstReplyId) {
        this.firstReplyId = firstReplyId;
    }

    public Date getFirstCreateTime() {
        return firstCreateTime;
    }

    public void setFirstCreateTime(Date firstCreateTime) {
        this.firstCreateTime = firstCreateTime;
    }

    public Integer getSecondReplyId() {
        return secondReplyId;
    }

    public void setSecondReplyId(Integer secondReplyId) {
        this.secondReplyId = secondReplyId;
    }

    public Date getSecondCreateTime() {
        return secondCreateTime;
    }

    public void setSecondCreateTime(Date secondCreateTime) {
        this.secondCreateTime = secondCreateTime;
    }

    public Integer getIsLike() {
        return isLike;
    }

    public void setIsLike(Integer isLike) {
        this.isLike = isLike;
    }

    public Integer getReplyCount() {
        return replyCount;
    }

    public void setReplyCount(Integer replyCount) {
        this.replyCount = replyCount;
    }

    private List<ForYoungReply> forYoungReplyList;

    public List<ForYoungReply> getForYoungReplyList() {
        return forYoungReplyList;
    }

    public void setForYoungReplyList(List<ForYoungReply> forYoungReplyList) {
        this.forYoungReplyList = forYoungReplyList;
    }

    public Long getForYoungId() {
        return forYoungId;
    }

    public void setForYoungId(Long forYoungId) {
        this.forYoungId = forYoungId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getUserHeadImage() {
        return userHeadImage;
    }

    public void setUserHeadImage(String userHeadImage) {
        this.userHeadImage = userHeadImage;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getNewsId() {
        return newsId;
    }

    public void setNewsId(Long newsId) {
        this.newsId = newsId;
    }

    public int getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(int isDelete) {
        this.isDelete = isDelete;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getLikeCount() {
        return likeCount;
    }

    public void setLikeCount(Long likeCount) {
        this.likeCount = likeCount;
    }

    public Integer getFirstReplyUserId() {
        return firstReplyUserId;
    }

    public void setFirstReplyUserId(Integer firstReplyUserId) {
        this.firstReplyUserId = firstReplyUserId;
    }

    public String getFirstReplyUserNickName() {
        return firstReplyUserNickName;
    }

    public void setFirstReplyUserNickName(String firstReplyUserNickName) {
        this.firstReplyUserNickName = firstReplyUserNickName;
    }

    public String getFirstReplyContent() {
        return firstReplyContent;
    }

    public void setFirstReplyContent(String firstReplyContent) {
        this.firstReplyContent = firstReplyContent;
    }

    public Integer getSecondReplyUserId() {
        return secondReplyUserId;
    }

    public void setSecondReplyUserId(Integer secondReplyUserId) {
        this.secondReplyUserId = secondReplyUserId;
    }

    public String getSecondReplyUserNickName() {
        return secondReplyUserNickName;
    }

    public void setSecondReplyUserNickName(String secondReplyUserNickName) {
        this.secondReplyUserNickName = secondReplyUserNickName;
    }

    public String getSecondReplyContent() {
        return secondReplyContent;
    }

    public void setSecondReplyContent(String secondReplyContent) {
        this.secondReplyContent = secondReplyContent;
    }
}
